﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Silverlight_Client.Commands_Utils;
using C1.Silverlight.Imaging;
using System.Reflection;

namespace Silverlight_Client.ViewModels
{
    public class SelectedManagementAnimationVM : IViewModelBase
    {
        #region Fields

        private C1GifImage _animationimagesource;

        #endregion

        #region Properties

        public C1GifImage AnimationImageSource
        {
            get { return _animationimagesource; }
        }
        
        #endregion

        #region Functions

        #endregion

        #region Ctor

        public SelectedManagementAnimationVM()
        {
            _animationimagesource = new C1GifImage(new Uri("/" + new AssemblyName(Assembly.GetExecutingAssembly().FullName).Name + ";component/Images/Babycha.gif", UriKind.Relative));
            _animationimagesource.Play();
        }

        #endregion
    }
}
